package com.css.zfzx.fwsjcj.modules.analysis.controller;

import com.css.zfzx.fwsjcj.modules.analysis.service.AnalysisMapService;
import com.css.zfzx.fwsjcj.modules.analysis.vo.AnalysisMapVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Description: fwsjcj
 * @Author: lhl
 * @CreateDate: 2021/12/2 18:46
 */
@RequestMapping("/fw/AnalysisMapController")
@RestController
public class AnalysisMapController {
    @Autowired
    AnalysisMapService analysisMapService;

    @GetMapping("/queryAnalysisMap")
    public List<AnalysisMapVO> queryAnalysisMap(){
        List<AnalysisMapVO> mapVOList = analysisMapService.queryAnalysisMap();
        return mapVOList;
    }

    @GetMapping("/queryPioneerMap")
    public List<AnalysisMapVO> queryPioneerMap(){
        List<AnalysisMapVO> mapVOList = analysisMapService.queryPioneerMap();
        return mapVOList;
    }
}
